from ronglian_sms_sdk import SmsSDK

accId = '2c94811c9035ff9f0192e14838cf0580'
accToken = '66d588a521c84d1a9ece37ea63087177'
appId = '2c94811c9035ff9f0192e1483a760587'


def send_message(mobile, code, time):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (code, time)
    resp = sdk.sendMessage(tid, mobile, datas)
    print(datas[0])
    return resp

# send_message('13999480579', 1111, 2)
